package org.fuxian.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.fuxian.model.BusOrder;

public interface BusOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BusOrder record);

    BusOrder selectByPrimaryKey(Integer id);

    List<BusOrder> selectAll();

    List<BusOrder> selectAllByUserId(@Param("user_id") Integer userId);

    int updateByPrimaryKey(BusOrder record);
}